<?php namespace Summer\Hjd\Models;

use Model;

/**
 * Model
 */
class BonusRuleModel extends Model
{
    use \Winter\Storm\Database\Traits\Validation;
    

    /**
     * @var string The database table used by the model.
     */
    public $table = 'summer_hjd_bonus_rule';

    /**
     * @var array Validation rules
     */
    public $rules = [
        'slug' => 'required|between:2,255|unique:summer_hjd_bonus_rule',
        'title' => 'required|between:2,255',
        'group' => 'required|between:2,255',
    ];
}
